package efu.nf.seckilldemo.common.enumeration;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author lwj
 * @create 2025-09-28-14:57
 */
@Getter
@AllArgsConstructor
public enum RedisKeyEnum {
    // 秒杀的商品
    SECKILL_GOODS_PREFIX("seckill:goods:"),
    // 秒杀的商品库存
    SECKILL_GOODS_STOCK_PREFIX("seckill:goods:stock:"),
    // 参与秒杀的用户
    SECKILL_USER_PREFIX("seckill:user:");

    private final String prefix;
}
